#ifndef __KC__QUEUES__H__2012__
#define __KC__QUEUES__H__2012__

#include "../utils/SafeQueue.h"
#include "../mime/data/RawMessage.h"

namespace kc_sf
{
	struct TryRawMessage : public RawMessage
	{
		int SendAttemptsNumber;

		TryRawMessage( const RawMessage &rmsg )
		: RawMessage( rmsg ),
		  SendAttemptsNumber( 0 )
		{
		}
	};

	extern SafeQueue<RawMessage> InputMessageQueue;
	extern SafeQueue<TryRawMessage> OutputMessageQueue;
}

#endif // __KC__QUEUES__H__2012__
